package com.zj.config;

import org.springframework.context.annotation.Bean;
import org.springframework.stereotype.Component;

@Component
public class LogUtil {

    @Bean
    Dog adog(){
        return new Dog();
    }

    public void printLog(String content) {
        System.out.println(content);
    }
}
